﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cilada.engine.DependencyExtraction;

namespace cilada.engine.Graph
{
    public class TypeVertex : IMember
    {
        #region Properties
        public string Container { get; set; }
        public string Namespace { get; set; }
        public TypeVertexTypes Type { get; set; }
        public bool IsNestedType { get; set; }
        public bool IsInterface { get; set; }
        public bool IsAbstract { get; set; }
        #endregion

        public TypeVertex(string fullName)
        {
            if (String.IsNullOrEmpty(fullName)) throw new ArgumentNullException("full name cannot be null or empty.");

            this.FullName = fullName;
        }

        public override bool IsType()
        {
            return true;
        }
    }
}
